<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <!--<script src="https://unpkg.com/axios/dist/axios.min.js"></script>-->
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
    <title>axios</title>
</head>
<body>
<div id="app"></div>
<script>
	//https://axios-http.com/docs/instance
    axios.get('http://redis.reneshine.com:8088/api/data', {
        // params: {
        //     apikey: 'AK-WixwcfbvJuvxd6AR7xUPnz3COc6NkmFaw4xf'
        // },
        headers: {
            'apikey': 'AK-WixwcfbvJuvxd6AR7xUPnz3COc6NkmFaw4xf',
            'Content-Type': 'application/json',
			//'Content-Type': 'multipart/form-data',
			//'Content-Type': 'application/x-www-form-urlencoded'
        }
    }).then(function (response) {
        //console.log(response);
		console.log(response.data);
    }).catch(function (error) {
        console.log(error);
    }).finally(function () {
        // always executed
    });
</script>
</body>
</html>